package com.wg.dome.entity.config;

import com.wg.db.annotation.EntityField;
import com.wg.db.annotation.EntityTable;
import com.wg.db.schema.AccessLevel;

import java.io.Serializable;

@EntityTable(tableName = "static_zhuling_shoe", accessLevel = AccessLevel.ReadOnly)
public class ZhuLingShoeEntity implements Serializable {

    /**
     * 注灵等级
     */
    @EntityField(isKey = true)
    private int level;

    /**
     * 法防
     */
    @EntityField
    private int rgs;

    /**
     * 暴击率
     */
    @EntityField
    private int crt;

    /**
     * 消耗道具Id
     */
    @EntityField(fieldName = "use_item_id")
    private int useItemId;

    /**
     * 消耗道具数量
     */
    @EntityField(fieldName = "use_item_count")
    private int useItemCount;

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getRgs() {
        return rgs;
    }

    public void setRgs(int rgs) {
        this.rgs = rgs;
    }

    public int getCrt() {
        return crt;
    }

    public void setCrt(int crt) {
        this.crt = crt;
    }

    public int getUseItemId() {
        return useItemId;
    }

    public void setUseItemId(int useItemId) {
        this.useItemId = useItemId;
    }
}
